[GET] selectCharger
/api/selectCharger
SelectChargerRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
site_id |
int
|
Site id of the transaction |
charger_id |
str
|
Assigned ID of the charger on site |
SelectChargerResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
charger |
ChargerDTO
|
dictionary containing the charger information based on |
ChargerDTO
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
name that will be displayed for the charger |
brand |
str
|
brand of the charger |
model |
str
|
model of the charger |
location |
Optional[str]
|
location where the charger can be found |
site_id |
int
|
id for the site where the charger is associated |
connectors |
List[ConnectorDTO]
|
details of the connector related for the charger |
is_private |
List[ConnectorDTO]
|
boolean indicating if the charger is classified as private |
ConnectorDTO
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
id of the connector |
type |
str
|
connector type |
max_charging |
float
|
KW capacity of the charger |
status |
str
|
status of the connector |
rate |
float
|
details of the connector related for the charger. 1…n (PHP per KWH) |
reserved_by |
Optional[str]
|
|
reserved_until |
Optional[EVAwareDateTime]
|
|
email |
Optional[str]
|
if the status is currently charging, the email of the customer who initiated the charging will be shown. else, the email will be blank. |
transaction_id |
Optional[str]
|
if the status is currently charging, the transaction ID will be shown. else, the email will be blank. |